<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link rel="stylesheet" type="text/css" href="<?php echo $this->_webroot('skin/css/admin.css'); ?>">
<link rel="stylesheet" type="text/css" href="<?php echo $this->_webroot('skin/css/main.css'); ?>">
<script type='text/javascript' src="<?php echo $this->_webroot('skin/js/jy.js'); ?>"></script>
<style>
td span {color:red;}
.green {color:green;}
.red {color:red;}
#divname{float:left; margin:0px;}
</style>
</head>
<body>
<input type="hidden" id="update_right" value="1" ></input>
<div id="maincontent">
	<div class="wrap">
       <div class="crumbs">当前位置 &gt;&gt; <a href="">维权管理</a> &gt;&gt; <a href="">维权查看</a></div>
        <hr />

	<div class="infobox">
	<h3><span class="left">维权查看</span><span class="right" style="margin-right:15px;"><a href="<?php echo $this->_url('admin/protect/index/?');?>" style="float: right;">返回维权列表</a></span></h3>
    <div class="content2">

			<table class="list_table">
			<?php if($result['data']) {
					foreach($result['data'] as $v) { $v = $v['protectright']; ?>
				<thead>
				<tr>
					<th colspan="4">&nbsp;&nbsp;
					<?php if($v['user_type']==0) {
								echo "客户";
							} else {
								echo "商家";
							}
							echo "于{$v['protect_date']}";
							if($v['status']==1)
								echo "<font color='red'>同意客户的维权</font>并且";
							echo "说：";
					?>
					</th>
				</tr>
				</thead>
				<tbody>
					<tr style="text-align:center;">
						<td align="left" width="270px">&nbsp;&nbsp;<?php echo str_replace("<img src=\"","<img src=\"../",$v['content']);?></td>
					</tr>
				</tbody>
				<?php }} ?>
			</table>	
	
	
	  </div>
	 </div>		

		
	
	</div>
</div>

</body>
</html>